package com.test.client.customTimeLine;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Duration implements Serializable {

	private Date	startDate;
	private Date	endDate;

	public Duration() {

	}

	public Duration(Date startDate, Date endDate) {
		super();
		this.startDate = startDate;
		this.endDate = endDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String toString() {
		return "[" + startDate + " --> " + endDate + "]";
	}
}
